package com.yanyeori.framework.security.enums;

import lombok.Getter;

/**
 * 用户状态
 *
 * @author chenkuan 2020/11/23
 */
@Getter
public enum UserStatusEnum {
    DISABLE(0, "禁用"),
    ACTIVE(1, "正常");

    private final Integer code;
    private final String name;

    UserStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
